package com.video.demo.domain;

import org.springframework.context.ApplicationEvent;

public class VideoBackEvent extends ApplicationEvent {

    public VideoBackEvent(Object source) {
        super(source);
    }

    public VideoBackEvent(Object source, StringBuffer rtsp, String videoName, String addressName) {
        super(source);
        this.rtsp = rtsp;
        this.videoName = videoName;
        this.addressName = addressName;
    }

    //存储的rtsp流格式
    StringBuffer rtsp;
    //存储的视频名字
    String videoName;
    //存储的视频位置
    String addressName;
    Integer a;

    public Integer getA() {
        return a;
    }

    public void setA(Integer a) {
        this.a = a;
    }

    public StringBuffer getRtsp() {
        return rtsp;
    }

    public void setRtsp(StringBuffer rtsp) {
        this.rtsp = rtsp;
    }

    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }
}
